-- GENERATED SPELL FOR [Wrathscale Myrmidon] --


function spell0_17194(pUnit, Event) --@Strike,n/a--
pUnit:FullCastSpellOnTarget(11976,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_17194', 634, 1)
end

function Sorts_17194(pUnit, Event)
local choix_sorts_17194 = math.random(0, 0)
if choix_sorts_17194 == 0 then
pUnit:RegisterEvent('spell0_17194', 1, 1)
end
end

function mob17194_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_17194', math.random(1500, 3000), 1)
end

function mob17194_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17194_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17194_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(17194, 1, 'mob17194_Action')
RegisterUnitEvent(17194, 2, 'mob17194_Leave')
RegisterUnitEvent(17194, 3, 'mob17194_Kill')
RegisterUnitEvent(17194, 4, 'mob17194_Die')
